<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta name="description" content=""/>
    <meta name="author" content="" />
    <title>汽车购票系统——用户个人信息页面</title>
    <link th:href="@{/css/customer_query.css}" rel="stylesheet">
    <link th:href="@{/css/reset.css}" rel="stylesheet">
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
</head>
<body style="background: #F0F8FF">
<!-- -----头 部----- -->
<header>
    <div class="contain">
        <div class="headlt">
            <a th:href="@{/customer/index}"><img th:src="@{/image/logo.png}"></a>
        </div>
        <div class="headrg">
            <ul>
                <li><a  th:text="${customer.nick_name}">昵称</a>
                    <ul>
                        <li><a th:href="@{/customer/query(id=${customer.id})}">我的信息</a></li>
                        <li><a th:href="@{/order/index(id=${customer.id})}">我的订单</a></li>
                    </ul>
                </li>
                <li><a th:href="@{/publiz/index}">注销</a></li>
            </ul>
        </div>
    </div>
</header>
<div class="contain">
    <div class="customer_query">
        <h2>个人信息</h2>
        <ul>
            <li>用 &nbsp;户 &nbsp;名：<span th:text="${customer.username}">用户名</span></li>
            <li>昵&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 称：<span th:text="${customer.nick_name}">昵称</span></li>
            <li>密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 码：<span th:text="${customer.password}">密码</span></li>
            <li>电话号码：<span th:text="${customer.number}">电话号码</span></li>
        </ul>
        <a th:href="@{/customer/edit(id=${customer.id})}" class="btn btn-primary btn-block">修&nbsp;改</a>
    </div>
</div>
<footer>
    <div class="foot">
        <ul>
            <li><a href="">网站地图</a></li>
            <li><a href="">关于我们</a></li>
            <li><a href="">联系我们</a></li>
        </ul>
        <ul>
            <li><a href="">合作企业</a></li>
            <li><a href="">法律声明</a></li>
            <li><a href="">隐私政策</a></li>
        </ul>
        <ul>
            <li><a href="">帮助中心</a></li>
            <li><a href="">在线提问</a></li>
            <li><a href="">问题反馈</a></li>
        </ul>
        <div class="foot_right">
            <p class="tel">400-488-6666</p>
            <p class="online">在线客服</p>
        </div>
    </div>
    <div class="copyright">&copy;2018-11  CYL版权所有</div>
</footer>

<script th:src="@{/js/tourist.js}"></script>
</body>
</html>
